const defaultWidth = 100
import { approveResultDics } from '@/hooks/dicsData'
export const tableHeaders = [
  {
    name: '申请单状态',
    key: 'workflowStatusDescr',
    wid: defaultWidth
  },
  {
    name: '审批结果',
    key: 'approveResultDescr',
    wid: defaultWidth
  },
  {
    name: '申请编号',
    key: 'applyId',
    wid: defaultWidth
  },
  {
    name: '申请原因',
    key: 'applyReason',
    wid: defaultWidth
  },
  {
    name: '企业编号',
    key: 'enterpriseId',
    wid: defaultWidth
  },
  {
    name: '企业名称',
    key: 'enterpriseName',
    wid: defaultWidth
  },
  {
    name: '区域编码',
    key: 'areaCode',
    wid: defaultWidth
  },
  {
    name: '区域名称',
    key: 'areaCodeDescr',
    wid: defaultWidth
  },
  {
    name: '迁移后区域编码',
    key: 'migratedAreaCode',
    wid: 140
  },
  {
    name: '迁移后区域名称',
    key: 'migratedAreaCodeDescr',
    wid: 140
  },
  {
    name: '审批人',
    key: 'approveByDescr',
    wid: defaultWidth
  },
  {
    name: '审批时间',
    key: 'approveTime',
    wid: 140
  },
  {
    name: '审批意见',
    key: 'approveComments',
    wid: defaultWidth
  },
  {
    name: '操作',
    wid: 120,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const searchItem = [
  {
    name: '申请编号',
    key: 'applyId'
  },
  {
    name: '企业名称',
    key: 'enterpriseName'
  },
  {
    name: '区域',
    key: 'areaCode'
  }
]
export const searchItem2 = [
  {
    name: '申请编号',
    key: 'applyId'
  },
  {
    name: '企业名称',
    key: 'enterpriseName'
  },
  {
    name: '区域',
    key: 'areaCode'
  },
  {
    name: '审批结果',
    key: 'approveResult',
    type: 'select',
    children: approveResultDics
  }
]
